package com.conversationboard.logger;

public enum Function {

    BOARDS(0, "Boards"), NEW_ANSWERS(1, "New Answers"), NEW_QUESTIONS(2, "New Questions"), RECENT_QUESTIONS(3, "Recent Questions"), SEARCHTHREADS(4, "SearchThreads"), SEARCHMESSAGES(4,
            "Search Messages"), SEARCHUSER(4, "Search User"), SEARCHDATE(4, "Search Date"), UNANSWERED_QUESTIONS(5, "Unanswered Questions"), THREAD(6, "Thread"), ADD_QUESTION(7, "Add Question"), ADD_ANSWER(
            8, "Add Answer");

    private int id;
    private String name;


    private Function(int id, String name) {
        this.id = id;
        this.name = name;
    }


    public int getId() {
        return id;
    }


    public String getName() {
        return name;
    }

}
